Return to doc.sitecore.com

Valid for Sitecore 5.2, 5.1.1
  Locating Items by Name
Prev Next

The Application Layer includes API methods which support retrieving items based on their name or path.  For these methods to work, the data provider must provide a mechanism for mapping an item path to the corresponding item GUID.  For example, a valid item path could be “/sitecore/content/Home/my info”.  The data provider must be able to parse this path and return the ID of the “my info” item.  The support for this feature must be implemented in the method listed below.

Return Value

Method Name

Parameters

Description

ID

ResolvePath

string itemPath
CallContext context

Parses the provided path to locate the requested item.  Returns the item ID if the item is found, null otherwise.


Prev Next